<?php
//рус

include_once (_CORE_PATH . "controller/controller_error_prototype.php");
class errors_media_http_web extends controller_error_prototype_class
{
    private $_metaTitle = '';
    
    public function PrAction()
    {
         $this->NotFoundPr();       
    }
    
    public function NotLoggedPrAction ()
    {
        
    }
    public function NotLoggedScAction ()
    {
    }       
    public function NotAccessPrAction ()
    {
    }
    public function NotAccessScAction ()
    {
    }     
    public function NotFoundPrAction ()
    {
        $this->_metaTitle = '404 Not Found';

        $this->Response()->setHttpResponseCode (404);
        $this->GetModule()->GetDecorator()->SetTemplate('Empty');        
        $t = $this->GetTemplator();
        $t->requestURL = _ROOT_URL.$this->Request()->getRequestUri();
        $this->Response()->SetBody($t->render('errors/_not_found.phtml'));  
        $this->GetModule()->GetDecorator()->SetSecondAction('Meta Title', 'GetMetaTitle', 'errors');      
    }

    public function GetMetaTitle()
    {
        return $this->_metaTitle;       
    }
}